package events
{
	import flash.events.Event;
	
	import mx.core.Container;

	public class EventOpenWindow extends Event
	{
		public static const EVENT_OPEN_WINDOW:String = "EVENT_OPEN_WINDOW"; 
		
		private var newWindow:Container;
			
		public function EventOpenWindow(newWindow:Container)
		{
			super(EVENT_OPEN_WINDOW, true, true);
			this.newWindow = newWindow;
		}
		
		public function get windowToOpen():Container {
			return newWindow;
		}
		
	}
}